package com.lbs.jiepiaisi.base;

import java.io.IOException;

/**
 * Created by yu on 2019-12-19 14:32.
 * Description:
 */
public class ResultException extends IOException {
    private String msg;
    private int code;

    public ResultException(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public ResultException(String message, String msg, int code) {
        super(message);
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() { return msg; }
    public void setMsg(String msg) { this.msg = msg; }

    public int getCode() { return code; }
    public void setCode(int code) { this.code = code; }
}
